function [ val ] = feature_range(data, header, range, input_channels)

val = max(data(range(1):range(2), input_channels), [], 1)-...
    min(data(range(1):range(2), input_channels), [], 1);
val = [mean(val) val];

end
